var t = require("util.js"),
  e = "?applicationNo=42342138";
module.exports = {
  threeWayLogin: function (e) {
    return t.post_form("/pass/threeWayLogin/sxd", e);
  },
  getTimeSlotsLimit: function (e) {
    return t.post_form("/getTimeSlotsLimit", e);
  },
  getInvoiceList: function (r, n) {
    return t.get_form(
      "".concat(1 == n ? "/invoiceHistory" : "/waitInvoiceList").concat(e),
      r,
    );
  },
  getTicketConfig: function (e) {
    return t.get_form("/listTicketConfigs", e);
  },
  CreateOrder: function (e) {
    return t.post_form("/v1/createOrder", e);
  },
  wechatPay: function (e) {
    return t.post_form("/v1/doKeepPaying", e);
  },
  getOrderList: function (e) {
    return t.get_form("/orderList", e);
  },
  refundOrder: function (r) {
    return t.post_form("/refundOrder".concat(e), r);
  },
  getOrderDetail: function (r) {
    return t.get_form("/orderDetail".concat(e), r);
  },
  CancelOrder: function (e) {
    return t.post_form("/cancelOrder", e);
  },
  getConcatList: function (e) {
    return t.get_form("/listCommonContacts", e);
  },
  AddConcat: function (e) {
    return t.post_form("/saveCommonContacts", e);
  },
  UpdateConcat: function (e) {
    return t.post_form("/updateCommonContacts", e);
  },
  RemoveConcat: function (e, r) {
    return t.post_form("/removeCommonContacts?id=".concat(e), r);
  },
  getInvoiceOrderList: function (r, n) {
    return t.get_form("/invoiceOrderList".concat(e, "&orderSn=").concat(r), n);
  },
  SaveInvoiceOrder: function (r) {
    return t.post_form("/saveInvoiceOrder".concat(e), r);
  },
  getTeamAppointmentDay: function (r) {
    return t.get_form("/appointmentDay".concat(e), r);
  },
  getInvoiceDetail: function (r, n) {
    return t.get_form("/invoiceDetail".concat(e, "&id=").concat(r), n);
  },
  getTeamConfig: function (r) {
    return t.get_form("/getTeamConfig".concat(e), r);
  },
  getModel: function (r) {
    return t.get_form("/pass/downModelForApplet".concat(e), r);
  },
  getProductList: function (r) {
    return t.get_form("/getProductList".concat(e), r);
  },
  getCustomerUserList: function (e) {
    return t.get_form("/getCustomerUserList", e);
  },
  resetOpenInvoice: function (r) {
    return t.post_form("/resetOpenInvoice".concat(e), r);
  },
  updateTeamOrder: function (r) {
    return t.post_form("/updateTeamOrder".concat(e), r);
  },
  getUniversalTicketConfig: function (r) {
    return t.get_form("/getUniversalTicketConfig".concat(e), r);
  },
  realNameAuth: function (e, r, n) {
    return t.post_form("/realNameAuth?name=".concat(e, "&idNo=").concat(r), n);
  },
  getCompanyName: function (e) {
    return t.get_form("/prefixQuery", e);
  },
  getCompanyCode: function (e) {
    return t.get_form("/queryNameAndTaxByCode", e);
  },
  getEle: function (e) {
    return t.get_form("/getEle", e);
  },
  getGuideTicketConfig: function (e) {
    return t.get_guide_form("/listTicketConfigs", e);
  },
  CreateGuideOrder: function (e) {
    return t.post_guide_form("/v1/createOrder", e);
  },
  wechatGuidePay: function (e) {
    return t.post_guide_form("/v1/doKeepPaying", e);
  },
  getGuideOrderList: function (e) {
    return t.get_guide_form("/guide/orderList", e);
  },
  getNormalCodeImage: function (e) {
    return t.get_form("/getNormalCodeImage", e, "arraybuffer");
  },
};
